package g14.sc12project.milestone1.Common;

public class Constants {

	//XML Database file name
	public static final String BOOK_STORE_DB_FILE="../datasource/ds_14_1.xml";
	//public static final String BOOK_STORE_DB_FILE="ds_14_1.xml";
	//public static final String BOOK_STORE_DB_FILE="C:/Users/alam/workspace/SC12Project-g14/ds_14_1.xml";
	
	//xpath queries
	public static final String GET_ALL_BOOK_NAMES = "category/book/title";
	public static final String GET_ALL_BOOK_ISBN10 = "category/book/ISBN10";
	public static final String GET_ALL_BOOK_ISBN13 = "category/book/ISBN13";
	
	//Exception Messsages
	public static final String XML_FILE_NOT_FOUND="XML file not found";
	
	//Constants value of xml file
	public static final String CATEGORY = "category";
	public static final String BOOK = "book";
	public static final String TITLE = "title";
	public static final String RESOURCE_ID = "resourceID";
	public static final String ISBN13 = "ISBN13";
	public static final String ISBN10 = "ISBN10";
	public static final String AUTHORS = "authors";
	public static final String PAGE_NUMBER = "pageNum";
	public static final String PUBLISHER = "publisher";
	public static final String PUBLISH_DATE = "publishdate";
	public static final String VERSION = "version";
	public static final String PRICE = "price";
	
	
	/*
	 * WEATHER SERVICE SECTION -----------------------------------------------------------------------------------------------
	 */
	
	
	//weather DB file
	public static final String WEATHER_DB_FILE="../datasource/ds_14_6.xml";
	
	//xpath query
	public static final String GET_ALL_LOCATION = "weathers/weather/location";

	//constant value for keeping parsed xml field value
	public static final String YEAR = "year";
	public static final String MONTH = "month";
	public static final String DATE = "date";
	public static final String LOCATION = "location";
	public static final String DESCRIPTION = "description";
	public static final String TEMPERATURE = "temperature";
}
